package ipad.asia.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import lombok.Data;
import java.time.LocalDateTime;
import lombok.experimental.Accessors;

/**
 * @Description  
 * @Author  冯东旺
 * @Date 2021-03-13 23:08:52 
 */

@Entity
@Data
@Accessors(chain = true)
@Table ( name ="shop")
public class Shop {

	@Id
   @Column(name = "id" )
	private int id;

   @Column(name = "name" )
	private String name;

   @Column(name = "enterprise_id" )
	private int enterpriseId;

   @Column(name = "date" )
	private LocalDateTime date;

}
